package queue;

public class Test {
    public static void main(String[] args) {
        Queue queue=new Queue();
        Producer producer=new Producer(queue);
        Consumer consumer=new Consumer(queue);
        Thread p=new Thread(producer);
        Thread c=new Thread(consumer);
        p.start();
        c.start();
    }
}
